package com.wmapp.domain;

import com.wmapp.utils.SimpleStringUtils;
/**
 * MCU system version
 * @author dengl
 *
 */
public class MCUVersion {
	private String productName;
	private String version;
	private String buildTime;
	private String manufactor;
	private String capbility;
	private String h264definition;
	private String username;

	public String formatText() {
		StringBuffer ret=new StringBuffer();
		ret.append(SimpleStringUtils.join("productName=",productName));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("version=",version));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("buildTime=",buildTime));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("manufactor=",manufactor));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("capbility=",capbility));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("h264definition=",h264definition));
		ret.append("\n");
		ret.append(SimpleStringUtils.join("username=",username));
		ret.append("\n");
		return ret.toString();
	}

	public String getUserame() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getBuildTime() {
		return buildTime;
	}

	public void setBuildTime(String buildTime) {
		this.buildTime = buildTime;
	}

	public String getManufactor() {
		return manufactor;
	}

	public void setManufactor(String manufactor) {
		this.manufactor = manufactor;
	}

	public String getCapbility() {
		return capbility;
	}

	public void setCapbility(String capbility) {
		this.capbility = capbility;
	}

	public String getH264definition() {
		return h264definition;
	}

	public void setH264definition(String h264definition) {
		this.h264definition = h264definition;
	}

}
